package com.huanghuai.retail.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

@Data
public class Suppliers {

    //供货商id
    private Long id;

    //供货商名称
    private String name;

    //厂家id
    private Long factoryId;

    //品牌id
    private Long brandId;

    //所属地区
    private String area;

    //电话
    private String phone;

    //供应商状态
    @TableField(fill = FieldFill.INSERT)
    private Integer status;

   /* //逻辑删除
    @TableField(value = "deleted")
    @TableLogic
    private Integer deleted;*/

}
